package com.jason.kotlin.meta.architecture2.repository

import com.jason.kotlin.meta.architecture2.model.*
import retrofit2.http.GET

interface SquareApi {


    /**
     * 广场列表数据
     *
     * @param page Int
     * @return WanApiResponse<WanApiPageResponse<ArticleBean>>
     */
    suspend fun getSquareData(page: Int): WanApiResponse<WanApiPageResponse<ArticleBean>>

    /**
     * 体系数据
     *
     * @return WanApiResponse<MutableList<SystemBean>>
     */
    suspend fun getSystemData(): WanApiResponse<MutableList<SystemBean>>

    /**
     * 导航数据
     * @return WanApiResponse<MutableList<NavigationBean>>
     */
    suspend fun getNavigationData(): WanApiResponse<MutableList<NavigationBean>>
}